import request from '@/utils/request'

// 查询危险废物信息列表
export function listWxfwInfo(query) {
  return request({
    url: '/solidProdution/wxfwInfo/list',
    method: 'get',
    params: query
  })
}

// 查询危险废物信息详细
export function getWxfwInfo(wxfwId) {
  return request({
    url: '/solidProdution/wxfwInfo/' + wxfwId,
    method: 'get'
  })
}

// 新增危险废物信息
export function addWxfwInfo(data) {
  return request({
    url: '/solidProdution/wxfwInfo',
    method: 'post',
    data: data
  })
}

// 修改危险废物信息
export function updateWxfwInfo(data) {
  return request({
    url: '/solidProdution/wxfwInfo',
    method: 'put',
    data: data
  })
}

// 删除危险废物信息
export function delWxfwInfo(wxfwId) {
  return request({
    url: '/solidProdution/wxfwInfo/' + wxfwId,
    method: 'delete'
  })
}

// 导出危险废物信息
export function exportWxfwInfo(query) {
  return request({
    url: '/solidProdution/wxfwInfo/export',
    method: 'get',
    params: query
  })
}